package com.zwz.mapper;

import com.zwz.entity.AdministrativePenalty;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface AdministrativePenaltyMapper {
    int insert(AdministrativePenalty entity);
//    int update(AdministrativePenalty entity);
//    int deleteById(Integer id);
//    AdministrativePenalty selectById(Integer id);
    List<AdministrativePenalty> selectByDateRange(@Param("start") Date startDate,
                                                  @Param("end") Date endDate);
}